package cn.yunhe.dao;

import cn.yunhe.entity.Admin;

/**
 * 管理员的mapper
 */
public interface AdminMapper {

    /**
     * 注册
     *
     * @param admin
     * @return
     */
    boolean registerAdmin(Admin admin);

    /**
     * 登录
     *
     * @param admin
     * @return
     */
    Admin loginAdmin(Admin admin);

}
